<!DOCTYPE html>
<html>
<head th:include="common/header_css::header('霸王餐小程序后台管理-分销设置表','%')"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div th:replace="common/toolbar::toolbar('分销设置表管理')"></div>
        <!--<div th:replace="common/search::search('%add')"></div>-->
        <div class="ibox-content">
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            查询条件
                        </div>
                        <div class="panel-body form-inline" style="margin-bottom:0px;">
                            <div class="pull-right" id="saveDiv">
                                <!--<button data-toggle="modal" class="btn btn-outline btn-primary" href="#modal-add-form">-->
                                <!--<i class="glyphicon glyphicon-plus" aria-hidden="true"></i>添加-->
                                <!--</button>-->
                                <button class="btn-sm btn-info btn-sm" data-toggle="modal" href="#modal-add-form"
                                        style="margin-left: 10px" >
                                    <i class="glyphicon glyphicon-plus" aria-hidden="true"></i>添加
                                </button>
                            </div>
                            <div class="pull-right">
                                <button class="btn-sm btn-primary btn-sm" id="search_btn">
                                    <i class="glyphicon glyphicon-search" aria-hidden="true"></i>查询
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-12"  id="tablediv">
                    <div class="example">
                        <table id="mytable" class="table"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--添加Fenxiao模态框-->
<div id="modal-add-form" class="modal fade" aria-hidden="true">
    <div class="modal-dialog" style="width: 980px;">
        <div class="modal-content">
            <div class="modal-body">
                <div class="row">
                    <h3 class="m-t-none m-b">分销设置表添加</h3>
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div class="ibox-content">
                                <form id="aform" method="post" class="form-horizontal" action="add"
                                      onsubmit="return checkAdd()">
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">会员类型</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" name="hytype" >
                                                        <option th:each="type:${hytypes}" th:value="${type.code}"
                                                                th:text="${type.msg}"></option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">会员级别</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" name="hylevel" id="hylevel2"
                                                            onchange="ahylevelChange()">
                                                        <option value="1">一级</option>
                                                        <option value="2" selected>二级</option>
                                                        <option value="3">三级</option>
                                                        <option value="4">四级</option>
                                                        <option value="5">五级</option>
                                                        <option value="6">六级</option>
                                                        <option value="7">七级</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">升级会员模式</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" name="huiyuantype">
                                                        <option value="1">充值模式</option>
                                                        <option value="2">会员商品</option>
                                                        <option value="3">累计消费</option>
                                                        <option value="4">线下收款</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">分销级别</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" name="fxlevel" id="fxlevel2">
                                                        <option value="1">一级分销</option>
                                                        <option value="2">二级分销</option>
                                                        <option value="3">三级分销</option>
                                                        <option value="4">四级分销</option>
                                                        <option value="5">五级分销</option>
                                                        <option value="6">六级分销</option>
                                                        <option value="7">七级分销</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">团队奖%</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="tuanjiang" type="number" value="0"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">业绩计算周期</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" name="yejizhouqi">
                                                        <option value="1">即时结算</option>
                                                        <option value="2">按天结算</option>
                                                        <option value="3">按周结算</option>
                                                        <option value="4">按月结算</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow1">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">一级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="fxname1"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">一级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="huifei1"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou1" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei1" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow2">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">二级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="fxname2"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">二级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="huifei2"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">二级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou2" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">二级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei2" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow3">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">三级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="fxname3"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">三级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="huifei3"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">三级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou3" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">三级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei3" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow4">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">四级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="fxname4"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">四级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="huifei4"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">四级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou4" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">四级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei4" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow5">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">五级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="fxname5" type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">五级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="huifei5" type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">五级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou5" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">五级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei5" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow6">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">六级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="fxname6" type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">六级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="huifei6" type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">六级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou6" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">六级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei6" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow7">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">七级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="fxname7" type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">七级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="huifei7" type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">七级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou7" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">七级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei7" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">见点奖励(元)</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" name="jiandian" type="number" value="0"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label"></label>
                                                <div class="col-md-6">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label"></label>
                                                <div class="col-md-6">
                                                    <div class="input-group m-b">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-md-4 col-sm-offset-2">
                                            <button class="btn btn-primary" type="submit">保存内容</button>
                                            <button data-toggle="modal" type="button" class="btn btn-white"
                                                    href="#modal-add-form">取消
                                            </button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--修改Fenxiao模态框-->
<div id="modal-form" class="modal fade" aria-hidden="true">
    <div class="modal-dialog" style="width: 980px;">
        <div class="modal-content">
            <div class="modal-body">
                <div class="row">
                    <h3 class="m-t-none m-b">分销设置表修改</h3>
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div class="ibox-content">
                                <form id="mform" method="post" class="form-horizontal" action="modify"
                                      onsubmit="return checkModify()">
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">会员级别</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" name="hylevel" id="hylevel"
                                                            onchange="mhylevelChange()">
                                                        <option value="1">一级会员</option>
                                                        <option value="2">二级会员</option>
                                                        <option value="3">三级会员</option>
                                                        <option value="4">四级会员</option>
                                                        <option value="5">五级会员</option>
                                                        <option value="6">六级会员</option>
                                                        <option value="7">七级会员</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">升级会员模式</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" name="huiyuantype" id="huiyuantype">
                                                        <option value="1">充值模式</option>
                                                        <option value="2">会员商品</option>
                                                        <option value="3">累计消费</option>
                                                        <option value="4">线下收款</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">见点奖励(元)</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="jiandian" name="jiandian" type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" style="display: none">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">分销级别</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" name="fxlevel" id="fxlevel">
                                                        <option value="1">一级分销</option>
                                                        <option value="2">二级分销</option>
                                                        <option value="3">三级分销</option>
                                                        <option value="4">四级分销</option>
                                                        <option value="5">五级分销</option>
                                                        <option value="6">六级分销</option>
                                                        <option value="7">七级分销</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">团队奖%</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="tuanjiang" name="tuanjiang" type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">业绩计算周期</label>
                                                <div class="col-md-6">
                                                    <select class="form-control" id="yejizhouqi" name="yejizhouqi">
                                                        <option value="1">即时结算</option>
                                                        <option value="2">按天结算</option>
                                                        <option value="3">按周结算</option>
                                                        <option value="4">按月结算</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow1">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">一级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="fxname1" name="fxname1" type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">一级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="huifei1" name="huifei1" type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou1" id="mzhekou1" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei1" id="txfei1" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow2">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">二级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="fxname2" name="fxname2"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">二级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="huifei2" name="huifei2"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">二级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou2" id="mzhekou2" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">二级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei2" id="txfei2" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow3">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">三级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="fxname3" name="fxname3"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">三级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="huifei3" name="huifei3"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">三级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou3" id="mzhekou3" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">三级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei3" id="txfei3" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow4">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">四级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="fxname4" name="fxname4"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">四级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="huifei4" name="huifei4" type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">四级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou4" id="mzhekou4" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">四级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei4" id="txfei4" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow5">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">五级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="fxname5" name="fxname5"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">五级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="huifei5" name="huifei5"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">五级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou5" id="mzhekou5" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">五级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei5" id="txfei5" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow6">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">六级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="fxname6" name="fxname6"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">六级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="huifei6" name="huifei6"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">六级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou6" id="mzhekou6" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">六级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei6" id="txfei6" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow7">
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">七级名称</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="fxname7" name="fxname7"
                                                           type="text" maxlength="50"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label">七级会费</label>
                                                <div class="col-md-6">
                                                    <input class="form-control" id="huifei7" name="huifei7"
                                                           type="number"/>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">七级折扣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="mzhekou7" id="mzhekou7" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">七级费率</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="txfei7" id="txfei7" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label"></label>
                                                <div class="col-md-6"></div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-6 control-label"></label>
                                                <div class="col-md-6">
                                                    <div class="input-group m-b"></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-md-4 col-sm-offset-2">
                                            <button class="btn btn-primary" type="submit">保存内容</button>
                                            <button data-toggle="modal" type="button" class="btn btn-white" href="#modal-form">取消</button>
                                        </div>
                                    </div>
                                    <input id="id" name="id" type="hidden" value=""/>
                                    <input id="mpid" name="mpid" type="hidden" value=""/>
                                    <input id="hytype" name="hytype" type="hidden" value=""/>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--<input id="hidfxlevel" type="hidden" th:value="${fxlevel}"/>-->
<!--<input id="hidhylevel" type="hidden" th:value="${hylevel}"/>-->
<input id="hidfxcout" type="hidden" th:value="${fxcout}"/>
<div th:include="common/footer_js::footer"></div>
<script src="/js/admin/fenxiao.js"></script>
</body>
</html>
